<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>用户登录</title>
</head>
<body>
<form action="" method="post">
	用 户 名:<input type="text" name="username" value="<?php 
	   if (isset($_COOKIE['username']))
	   {
		   echo trim($_COOKIE['username']);
	   }
	?>"><br/><br/>
	用户密码:<input type="text" name="password"><br/><br/>
	<input type="submit" value="登录">
</form>
</body>
</html>